package com.xingu.xg.vo;

import com.xingu.xg.domain.XgMenu;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @param
 * @BelongsProject: xg-interview-java
 * @BelongsPackage: com.xingu.xg
 * @author: L
 * @Date: 2024/5/15 23:41
 * @return
 */
@Data
public class AddNodeQuery {

    @ApiModelProperty("当前选中ID")
    @NotNull(message = "当前选中ID不能为空")
    private String selectedId;

    @ApiModelProperty("复制的节点")
    // @Valid
    List<CopyNodeQuery> list;

    private List<XgMenu> xgMenu;
}
